package com.schooldate.model.service;

import com.schooldate.base.BaseSupport;
import com.schooldate.model.entity.School;

import java.util.List;

/**
 * Created by etund on 2015/3/15 0015.
 */
public interface SchoolService extends BaseSupport<School>{

    /**
     * 通过用户提交的地方名字来返回附近的大学
     * @param nearPlaceName
     * @return
     */
    List<School> getSchoolByPlace(String nearPlaceName);

    List<School> getBySchoolNames(String[] names);

    School getBySchoolName(String schoolId);
}
